package com.qiguliuxing.dts.db.dao.ex;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface GoodsMapperEx {

    @Select({
            "select sum(g.browse) from dts_goods g where deleted = 0 ",
            "and g.brand_id = #{brandId} "
    })
    Long merchantVisitCount(@Param("brandId") Integer brandId);
}
